﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using SiKuma.ScreenSystemLibrary;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;

namespace SiKuma
{
    public class VivatTCLogoScreen : LogoScreen
    {
        public VivatTCLogoScreen()
            : base() { }

        public VivatTCLogoScreen(Color fadeColor, float fadePercent)
            : base(fadeColor, fadePercent) { }

        public override void InitializeScreen()
        {
            ScreenTime = TimeSpan.FromSeconds(2);
            Removing += new EventHandler(RemovingScreen);
            base.InitializeScreen();
        }

        public override void LoadContent()
        {
            ContentManager content = ScreenSystem.Content;
            Texture = content.Load<Texture2D>("vivatTC");
        }

        public override void UnloadContent()
        {
            Texture = null;
        }

        void RemovingScreen(object sender, EventArgs e)
        {
            //ScreenSystem.AddScreen
        }
    }
}
